<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path_bottom = request.getContextPath();
	String basePath_bottom = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path_bottom ;

%>
<!-- basic scripts -->

<!--[if !IE]> -->

<script type="text/javascript">
    window.jQuery || document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
    function initpage(){
    	initmain();
    	
    	var pageurl = window.location.href;
    	if(pageurl.indexOf('/system/')!=-1) pageurl = pageurl.substring(pageurl.indexOf('/system/'));
    	if(pageurl.indexOf('/id/')!=-1) pageurl = pageurl.substring(pageurl.indexOf('/id/'));
		$(window.parent.document).find('iframe').each(function(i){
			var iframeurl = $(this).attr('src');
			if(iframeurl.indexOf('/system/')!=-1) iframeurl = iframeurl.substring(iframeurl.indexOf('/system/'));
			if(iframeurl.indexOf('/id/')!=-1) iframeurl = iframeurl.substring(iframeurl.indexOf('/id/'));
			if(iframeurl.trim()==pageurl.trim()){
				var clientheight = parent.document.documentElement.clientHeight;
				if(document.body.scrollHeight+60>(clientheight-130)) $(this).css('height',(document.body.scrollHeight+60)+"px");
				else $(this).css('height',(clientheight-130)+"px");
				
			}
		});
		
    }
    initpage();
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

<script type="text/javascript">
    if("ontouchend" in document) document.write("<script src='<%=basePath_bottom%>/resources/ui/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="<%=basePath_bottom%>/resources/ui/js/bootstrap.min.js"></script>

<!-- page specific plugin scripts -->

<script type="text/javascript" src="<%=basePath_bottom%>/resources/js/zxy-web.min.js"></script>

<!-- ace scripts -->

<script src="<%=basePath_bottom%>/resources/ui/js/jundu-elements.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/jundu.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/bootbox.min.js"></script>
<script src="<%=basePath_bottom%>/resources/ui/js/jquery.gritter.min.js"></script>

<!-- inline scripts related to this page -->
<style>
	.span12{
		margin-left: 0;
		width: 100%;
	}
	.span12 .divlef{
		float: left;
		margin-bottom: 5px;
	}
	.span12 .divrig{
		float: right;
	}
	.box{
		padding-left: 5px;
	}
	#userSelectSearch{
		margin: 5px 0px 0px 0px;
	}
	.userRoleMenuButton{
		padding: 10px 0px;
	}
</style>